package school.valon.persistence.pojo;

import java.io.Serializable;

import javax.persistence.*;


/**
 * The persistent class for the outside_donator database table.
 * 
 */
@Entity
@Table(name="outside_donator")
@PrimaryKeyJoinColumn(name="outside_donator_user_id", referencedColumnName="user_id")
@DiscriminatorValue("5")
@NamedQueries({
@NamedQuery(name="OutsideDonator.findAll", query="SELECT o FROM OutsideDonator o"),
@NamedQuery(name="OutsideDonator.deleteById", query="DELETE FROM OutsideDonator WHERE outsideDonatorId = :P1")
})
public class OutsideDonator extends User implements Serializable {
	private static final long serialVersionUID = -1868309556428410687L;
	
	@Column(name="outside_donator_user_id", insertable=false, updatable=false)
	private Integer outsideDonatorId;

	public Integer getOutsideDonatorId() {
		return outsideDonatorId;
	}

	public void setOutsideDonatorId(Integer outsideDonatorId) {
		this.outsideDonatorId = outsideDonatorId;
	}

}